/*
 * Copyright (c) 2013-2014, starteasy Inc. All Rights Reserved.
 * 
 * Project Name: sample
 * $Id:  2016-11-14 17:11:44 $ 
 */
        package cn.starteasy.sample.facade.impl;

import cn.starteasy.core.common.service.IBaseService;
import cn.starteasy.core.common.service.impl.AbstractPersistenceProvider;
        import cn.starteasy.core.common.adminui.backend.service.IRoleUserService;
                import cn.starteasy.sample.facade.IRoleUserFacade;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("RoleUserFacadeImpl")
public class RoleUserFacadeImpl extends AbstractPersistenceProvider implements IRoleUserFacade {
    @Autowired
    private IRoleUserService roleUserService;


//    @Transactional(propagation = Propagation.REQUIRED)
//    @Override
//    public void add() {
//        roleUserService.add();
//    }

    @Override
    public IBaseService getMainService() {
        return roleUserService;
    }
}
